

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>mindspore.numpy &mdash; MindSpore master documentation</title>
  

  
  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />

  
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
        <script src="../_static/jquery.js"></script>
        <script src="../_static/underscore.js"></script>
        <script src="../_static/doctools.js"></script>
        <script src="../_static/language_data.js"></script>
        <script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
    
    <script type="text/javascript" src="../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="mindspore.numpy.arange" href="numpy/mindspore.numpy.arange.html" />
    <link rel="prev" title="mindspore.nn.transformer" href="mindspore.nn.transformer.html" /> 
</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="../index.html" class="icon icon-home"> MindSpore
          

          
          </a>

          
            
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <p class="caption"><span class="caption-text">MindSpore Python API</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="mindspore.html">mindspore</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.common.initializer.html">mindspore.common.initializer</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.communication.html">mindspore.communication</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.compression.html">mindspore.compression</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.context.html">mindspore.context</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.dataset.html">mindspore.dataset</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.dataset.audio.html">mindspore.dataset.audio</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.dataset.config.html">mindspore.dataset.config</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.dataset.text.html">mindspore.dataset.text</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.dataset.transforms.html">mindspore.dataset.transforms</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.dataset.vision.html">mindspore.dataset.vision</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.mindrecord.html">mindspore.mindrecord</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.nn.html">mindspore.nn</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.nn.probability.html">mindspore.nn.probability</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.nn.transformer.html">mindspore.nn.transformer</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">mindspore.numpy</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#array-generation">Array Generation</a><ul>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.arange.html">mindspore.numpy.arange</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.array.html">mindspore.numpy.array</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.asarray.html">mindspore.numpy.asarray</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.asfarray.html">mindspore.numpy.asfarray</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.bartlett.html">mindspore.numpy.bartlett</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.blackman.html">mindspore.numpy.blackman</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.copy.html">mindspore.numpy.copy</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.diag.html">mindspore.numpy.diag</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.diag_indices.html">mindspore.numpy.diag_indices</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.diagflat.html">mindspore.numpy.diagflat</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.diagonal.html">mindspore.numpy.diagonal</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.empty.html">mindspore.numpy.empty</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.empty_like.html">mindspore.numpy.empty_like</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.eye.html">mindspore.numpy.eye</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.full.html">mindspore.numpy.full</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.full_like.html">mindspore.numpy.full_like</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.geomspace.html">mindspore.numpy.geomspace</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.hamming.html">mindspore.numpy.hamming</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.hanning.html">mindspore.numpy.hanning</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.histogram_bin_edges.html">mindspore.numpy.histogram_bin_edges</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.identity.html">mindspore.numpy.identity</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.indices.html">mindspore.numpy.indices</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.ix_.html">mindspore.numpy.ix</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.linspace.html">mindspore.numpy.linspace</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.logspace.html">mindspore.numpy.logspace</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.meshgrid.html">mindspore.numpy.meshgrid</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.mgrid.html">mindspore.numpy.mgrid</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.ogrid.html">mindspore.numpy.ogrid</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.ones.html">mindspore.numpy.ones</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.ones_like.html">mindspore.numpy.ones_like</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.pad.html">mindspore.numpy.pad</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.trace.html">mindspore.numpy.trace</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.tri.html">mindspore.numpy.tri</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.tril.html">mindspore.numpy.tril</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.tril_indices.html">mindspore.numpy.tril_indices</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.tril_indices_from.html">mindspore.numpy.tril_indices_from</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.triu.html">mindspore.numpy.triu</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.triu_indices.html">mindspore.numpy.triu_indices</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.triu_indices_from.html">mindspore.numpy.triu_indices_from</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.vander.html">mindspore.numpy.vander</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.zeros.html">mindspore.numpy.zeros</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.zeros_like.html">mindspore.numpy.zeros_like</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#array-operation">Array Operation</a><ul>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.append.html">mindspore.numpy.append</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.apply_along_axis.html">mindspore.numpy.apply_along_axis</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.apply_over_axes.html">mindspore.numpy.apply_over_axes</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.array_split.html">mindspore.numpy.array_split</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.array_str.html">mindspore.numpy.array_str</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.atleast_1d.html">mindspore.numpy.atleast_1d</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.atleast_2d.html">mindspore.numpy.atleast_2d</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.atleast_3d.html">mindspore.numpy.atleast_3d</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.broadcast_arrays.html">mindspore.numpy.broadcast_arrays</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.broadcast_to.html">mindspore.numpy.broadcast_to</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.choose.html">mindspore.numpy.choose</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.column_stack.html">mindspore.numpy.column_stack</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.concatenate.html">mindspore.numpy.concatenate</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.dsplit.html">mindspore.numpy.dsplit</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.dstack.html">mindspore.numpy.dstack</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.expand_dims.html">mindspore.numpy.expand_dims</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.flip.html">mindspore.numpy.flip</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.fliplr.html">mindspore.numpy.fliplr</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.flipud.html">mindspore.numpy.flipud</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.hsplit.html">mindspore.numpy.hsplit</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.hstack.html">mindspore.numpy.hstack</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.moveaxis.html">mindspore.numpy.moveaxis</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.piecewise.html">mindspore.numpy.piecewise</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.ravel.html">mindspore.numpy.ravel</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.repeat.html">mindspore.numpy.repeat</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.reshape.html">mindspore.numpy.reshape</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.roll.html">mindspore.numpy.roll</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.rollaxis.html">mindspore.numpy.rollaxis</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.rot90.html">mindspore.numpy.rot90</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.select.html">mindspore.numpy.select</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.size.html">mindspore.numpy.size</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.split.html">mindspore.numpy.split</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.squeeze.html">mindspore.numpy.squeeze</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.stack.html">mindspore.numpy.stack</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.swapaxes.html">mindspore.numpy.swapaxes</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.take.html">mindspore.numpy.take</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.take_along_axis.html">mindspore.numpy.take_along_axis</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.tile.html">mindspore.numpy.tile</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.transpose.html">mindspore.numpy.transpose</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.unique.html">mindspore.numpy.unique</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.unravel_index.html">mindspore.numpy.unravel_index</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.vsplit.html">mindspore.numpy.vsplit</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.vstack.html">mindspore.numpy.vstack</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.where.html">mindspore.numpy.where</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#logic">Logic</a><ul>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.array_equal.html">mindspore.numpy.array_equal</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.array_equiv.html">mindspore.numpy.array_equiv</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.equal.html">mindspore.numpy.equal</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.greater.html">mindspore.numpy.greater</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.greater_equal.html">mindspore.numpy.greater_equal</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.in1d.html">mindspore.numpy.in1d</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.isclose.html">mindspore.numpy.isclose</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.isfinite.html">mindspore.numpy.isfinite</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.isin.html">mindspore.numpy.isin</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.isinf.html">mindspore.numpy.isinf</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.isnan.html">mindspore.numpy.isnan</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.isneginf.html">mindspore.numpy.isneginf</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.isposinf.html">mindspore.numpy.isposinf</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.isscalar.html">mindspore.numpy.isscalar</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.less.html">mindspore.numpy.less</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.less_equal.html">mindspore.numpy.less_equal</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.logical_and.html">mindspore.numpy.logical_and</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.logical_not.html">mindspore.numpy.logical_not</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.logical_or.html">mindspore.numpy.logical_or</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.logical_xor.html">mindspore.numpy.logical_xor</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.not_equal.html">mindspore.numpy.not_equal</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.signbit.html">mindspore.numpy.signbit</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.sometrue.html">mindspore.numpy.sometrue</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#math">Math</a><ul>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.absolute.html">mindspore.numpy.absolute</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.add.html">mindspore.numpy.add</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.amax.html">mindspore.numpy.amax</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.amin.html">mindspore.numpy.amin</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.arccos.html">mindspore.numpy.arccos</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.arccosh.html">mindspore.numpy.arccosh</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.arcsin.html">mindspore.numpy.arcsin</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.arcsinh.html">mindspore.numpy.arcsinh</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.arctan.html">mindspore.numpy.arctan</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.arctan2.html">mindspore.numpy.arctan2</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.arctanh.html">mindspore.numpy.arctanh</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.argmax.html">mindspore.numpy.argmax</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.argmin.html">mindspore.numpy.argmin</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.around.html">mindspore.numpy.around</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.average.html">mindspore.numpy.average</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.bincount.html">mindspore.numpy.bincount</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.bitwise_and.html">mindspore.numpy.bitwise_and</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.bitwise_or.html">mindspore.numpy.bitwise_or</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.bitwise_xor.html">mindspore.numpy.bitwise_xor</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.cbrt.html">mindspore.numpy.cbrt</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.ceil.html">mindspore.numpy.ceil</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.clip.html">mindspore.numpy.clip</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.convolve.html">mindspore.numpy.convolve</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.copysign.html">mindspore.numpy.copysign</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.corrcoef.html">mindspore.numpy.corrcoef</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.correlate.html">mindspore.numpy.correlate</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.cos.html">mindspore.numpy.cos</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.cosh.html">mindspore.numpy.cosh</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.count_nonzero.html">mindspore.numpy.count_nonzero</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.cov.html">mindspore.numpy.cov</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.cross.html">mindspore.numpy.cross</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.cumprod.html">mindspore.numpy.cumprod</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.cumsum.html">mindspore.numpy.cumsum</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.deg2rad.html">mindspore.numpy.deg2rad</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.diff.html">mindspore.numpy.diff</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.digitize.html">mindspore.numpy.digitize</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.divide.html">mindspore.numpy.divide</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.divmod.html">mindspore.numpy.divmod</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.dot.html">mindspore.numpy.dot</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.ediff1d.html">mindspore.numpy.ediff1d</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.exp.html">mindspore.numpy.exp</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.exp2.html">mindspore.numpy.exp2</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.expm1.html">mindspore.numpy.expm1</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.fix.html">mindspore.numpy.fix</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.float_power.html">mindspore.numpy.float_power</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.floor.html">mindspore.numpy.floor</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.floor_divide.html">mindspore.numpy.floor_divide</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.fmod.html">mindspore.numpy.fmod</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.gcd.html">mindspore.numpy.gcd</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.gradient.html">mindspore.numpy.gradient</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.heaviside.html">mindspore.numpy.heaviside</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.histogram.html">mindspore.numpy.histogram</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.histogram2d.html">mindspore.numpy.histogram2d</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.histogramdd.html">mindspore.numpy.histogramdd</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.hypot.html">mindspore.numpy.hypot</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.inner.html">mindspore.numpy.inner</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.interp.html">mindspore.numpy.interp</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.invert.html">mindspore.numpy.invert</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.kron.html">mindspore.numpy.kron</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.lcm.html">mindspore.numpy.lcm</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.log.html">mindspore.numpy.log</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.log10.html">mindspore.numpy.log10</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.log1p.html">mindspore.numpy.log1p</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.log2.html">mindspore.numpy.log2</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.logaddexp.html">mindspore.numpy.logaddexp</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.logaddexp2.html">mindspore.numpy.logaddexp2</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.matmul.html">mindspore.numpy.matmul</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.matrix_power.html">mindspore.numpy.matrix_power</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.maximum.html">mindspore.numpy.maximum</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.mean.html">mindspore.numpy.mean</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.minimum.html">mindspore.numpy.minimum</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.multi_dot.html">mindspore.numpy.multi_dot</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.multiply.html">mindspore.numpy.multiply</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.nancumsum.html">mindspore.numpy.nancumsum</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.nanmax.html">mindspore.numpy.nanmax</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.nanmean.html">mindspore.numpy.nanmean</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.nanmin.html">mindspore.numpy.nanmin</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.nanstd.html">mindspore.numpy.nanstd</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.nansum.html">mindspore.numpy.nansum</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.nanvar.html">mindspore.numpy.nanvar</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.negative.html">mindspore.numpy.negative</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.norm.html">mindspore.numpy.norm</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.outer.html">mindspore.numpy.outer</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.polyadd.html">mindspore.numpy.polyadd</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.polyder.html">mindspore.numpy.polyder</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.polyint.html">mindspore.numpy.polyint</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.polymul.html">mindspore.numpy.polymul</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.polysub.html">mindspore.numpy.polysub</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.polyval.html">mindspore.numpy.polyval</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.positive.html">mindspore.numpy.positive</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.power.html">mindspore.numpy.power</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.promote_types.html">mindspore.numpy.promote_types</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.ptp.html">mindspore.numpy.ptp</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.rad2deg.html">mindspore.numpy.rad2deg</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.radians.html">mindspore.numpy.radians</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.ravel_multi_index.html">mindspore.numpy.ravel_multi_index</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.reciprocal.html">mindspore.numpy.reciprocal</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.remainder.html">mindspore.numpy.remainder</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.result_type.html">mindspore.numpy.result_type</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.rint.html">mindspore.numpy.rint</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.searchsorted.html">mindspore.numpy.searchsorted</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.sign.html">mindspore.numpy.sign</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.sin.html">mindspore.numpy.sin</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.sinh.html">mindspore.numpy.sinh</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.sqrt.html">mindspore.numpy.sqrt</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.square.html">mindspore.numpy.square</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.std.html">mindspore.numpy.std</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.subtract.html">mindspore.numpy.subtract</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.sum.html">mindspore.numpy.sum</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.tan.html">mindspore.numpy.tan</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.tanh.html">mindspore.numpy.tanh</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.tensordot.html">mindspore.numpy.tensordot</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.trapz.html">mindspore.numpy.trapz</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.true_divide.html">mindspore.numpy.true_divide</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.trunc.html">mindspore.numpy.trunc</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.unwrap.html">mindspore.numpy.unwrap</a></li>
<li class="toctree-l3"><a class="reference internal" href="numpy/mindspore.numpy.var.html">mindspore.numpy.var</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.ops.html">mindspore.ops</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.parallel.html">mindspore.parallel</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.parallel.nn.html">mindspore.parallel.nn</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.profiler.html">mindspore.profiler</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.scipy.html">mindspore.scipy</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.train.html">mindspore.train</a></li>
<li class="toctree-l1"><a class="reference internal" href="mindspore.boost.html">mindspore.boost</a></li>
</ul>
<p class="caption"><span class="caption-text">MindSpore C++ API</span></p>
<ul>
<li class="toctree-l1"><a class="reference external" href="https://www.mindspore.cn/lite/api/zh-CN/master/api_cpp/mindspore.html">MindSpore Lite↗</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../index.html">MindSpore</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../index.html" class="icon icon-home"></a> &raquo;</li>
        
      <li>mindspore.numpy</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
          
            <a href="../_sources/api_python/mindspore.numpy.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="mindspore-numpy">
<h1>mindspore.numpy<a class="headerlink" href="#mindspore-numpy" title="Permalink to this headline">¶</a></h1>
<p>Numpy-like interfaces in mindspore.</p>
<p><strong>Examples</strong></p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">mindspore.numpy</span> <span class="k">as</span> <span class="nn">np</span>
</pre></div>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>array_ops.py defines all the array operation interfaces.</p>
<p>array_creations.py defines all the array generation interfaces.</p>
<p>math_ops.py defines all the math operations on tensors.</p>
<p>logic_ops.py defines all the logical operations on tensors.</p>
<p>dtypes.py defines all the mindspore.numpy dtypes (mainly redirected from mindspore)</p>
</div>
<div class="section" id="array-generation">
<h2>Array Generation<a class="headerlink" href="#array-generation" title="Permalink to this headline">¶</a></h2>
<table class="longtable docutils align-default">
<colgroup>
<col style="width: 9%" />
<col style="width: 64%" />
<col style="width: 27%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><strong>API Name</strong></p></td>
<td><p><strong>Description</strong></p></td>
<td><p><strong>Supported Platforms</strong></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.arange.html#mindspore.numpy.arange" title="mindspore.numpy.arange"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.arange</span></code></a></p></td>
<td><p>Returns evenly spaced values within a given interval.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.array.html#mindspore.numpy.array" title="mindspore.numpy.array"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.array</span></code></a></p></td>
<td><p>Creates a tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.asarray.html#mindspore.numpy.asarray" title="mindspore.numpy.asarray"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.asarray</span></code></a></p></td>
<td><p>Converts the input to tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.asfarray.html#mindspore.numpy.asfarray" title="mindspore.numpy.asfarray"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.asfarray</span></code></a></p></td>
<td><p>Similar to asarray, converts the input to a float tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.bartlett.html#mindspore.numpy.bartlett" title="mindspore.numpy.bartlett"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.bartlett</span></code></a></p></td>
<td><p>Returns the Bartlett window.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.blackman.html#mindspore.numpy.blackman" title="mindspore.numpy.blackman"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.blackman</span></code></a></p></td>
<td><p>Returns the Blackman window.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.copy.html#mindspore.numpy.copy" title="mindspore.numpy.copy"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.copy</span></code></a></p></td>
<td><p>Returns a tensor copy of the given object.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.diag.html#mindspore.numpy.diag" title="mindspore.numpy.diag"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.diag</span></code></a></p></td>
<td><p>Extracts a diagonal or construct a diagonal array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.diag_indices.html#mindspore.numpy.diag_indices" title="mindspore.numpy.diag_indices"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.diag_indices</span></code></a></p></td>
<td><p>Returns the indices to access the main diagonal of an array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.diagflat.html#mindspore.numpy.diagflat" title="mindspore.numpy.diagflat"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.diagflat</span></code></a></p></td>
<td><p>Creates a two-dimensional array with the flattened input as a diagonal.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.diagonal.html#mindspore.numpy.diagonal" title="mindspore.numpy.diagonal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.diagonal</span></code></a></p></td>
<td><p>Returns specified diagonals.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.empty.html#mindspore.numpy.empty" title="mindspore.numpy.empty"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.empty</span></code></a></p></td>
<td><p>Returns a new array of given shape and type, without initializing entries.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.empty_like.html#mindspore.numpy.empty_like" title="mindspore.numpy.empty_like"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.empty_like</span></code></a></p></td>
<td><p>Returns a new array with the same shape and type as a given array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.eye.html#mindspore.numpy.eye" title="mindspore.numpy.eye"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.eye</span></code></a></p></td>
<td><p>Returns a 2-D tensor with ones on the diagonal and zeros elsewhere.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.full.html#mindspore.numpy.full" title="mindspore.numpy.full"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.full</span></code></a></p></td>
<td><p>Returns a new tensor of given shape and type, filled with <cite>fill_value</cite>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.full_like.html#mindspore.numpy.full_like" title="mindspore.numpy.full_like"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.full_like</span></code></a></p></td>
<td><p>Returns a full array with the same shape and type as a given array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.geomspace.html#mindspore.numpy.geomspace" title="mindspore.numpy.geomspace"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.geomspace</span></code></a></p></td>
<td><p>Returns numbers spaced evenly on a log scale (a geometric progression).</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.hamming.html#mindspore.numpy.hamming" title="mindspore.numpy.hamming"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.hamming</span></code></a></p></td>
<td><p>Returns the Hamming window.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.hanning.html#mindspore.numpy.hanning" title="mindspore.numpy.hanning"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.hanning</span></code></a></p></td>
<td><p>Returns the Hanning window.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.histogram_bin_edges.html#mindspore.numpy.histogram_bin_edges" title="mindspore.numpy.histogram_bin_edges"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.histogram_bin_edges</span></code></a></p></td>
<td><p>Function to calculate only the edges of the bins used by the histogram function.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.identity.html#mindspore.numpy.identity" title="mindspore.numpy.identity"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.identity</span></code></a></p></td>
<td><p>Returns the identity tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.indices.html#mindspore.numpy.indices" title="mindspore.numpy.indices"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.indices</span></code></a></p></td>
<td><p>Returns an array representing the indices of a grid.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.ix_.html#mindspore.numpy.ix_" title="mindspore.numpy.ix_"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.ix_</span></code></a></p></td>
<td><p>Constructs an open mesh from multiple sequences.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.linspace.html#mindspore.numpy.linspace" title="mindspore.numpy.linspace"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.linspace</span></code></a></p></td>
<td><p>Returns evenly spaced values within a given interval.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.logspace.html#mindspore.numpy.logspace" title="mindspore.numpy.logspace"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.logspace</span></code></a></p></td>
<td><p>Returns numbers spaced evenly on a log scale.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.meshgrid.html#mindspore.numpy.meshgrid" title="mindspore.numpy.meshgrid"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.meshgrid</span></code></a></p></td>
<td><p>Returns coordinate matrices from coordinate vectors.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.mgrid.html#mindspore.numpy.mgrid" title="mindspore.numpy.mgrid"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.mgrid</span></code></a></p></td>
<td><p>mgrid is an <code class="xref py py-class docutils literal notranslate"><span class="pre">NdGrid</span></code> instance with <code class="docutils literal notranslate"><span class="pre">sparse=False</span></code>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.ogrid.html#mindspore.numpy.ogrid" title="mindspore.numpy.ogrid"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.ogrid</span></code></a></p></td>
<td><p>ogrid is an <code class="xref py py-class docutils literal notranslate"><span class="pre">NdGrid</span></code> instance with <code class="docutils literal notranslate"><span class="pre">sparse=True</span></code>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.ones.html#mindspore.numpy.ones" title="mindspore.numpy.ones"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.ones</span></code></a></p></td>
<td><p>Returns a new tensor of given shape and type, filled with ones.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.ones_like.html#mindspore.numpy.ones_like" title="mindspore.numpy.ones_like"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.ones_like</span></code></a></p></td>
<td><p>Returns an array of ones with the same shape and type as a given array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.pad.html#mindspore.numpy.pad" title="mindspore.numpy.pad"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.pad</span></code></a></p></td>
<td><p>Pads an array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.trace.html#mindspore.numpy.trace" title="mindspore.numpy.trace"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.trace</span></code></a></p></td>
<td><p>Returns the sum along diagonals of the array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.tri.html#mindspore.numpy.tri" title="mindspore.numpy.tri"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.tri</span></code></a></p></td>
<td><p>Returns a tensor with ones at and below the given diagonal and zeros elsewhere.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.tril.html#mindspore.numpy.tril" title="mindspore.numpy.tril"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.tril</span></code></a></p></td>
<td><p>Returns a lower triangle of a tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.tril_indices.html#mindspore.numpy.tril_indices" title="mindspore.numpy.tril_indices"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.tril_indices</span></code></a></p></td>
<td><p>Returns the indices for the lower-triangle of an (n, m) array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.tril_indices_from.html#mindspore.numpy.tril_indices_from" title="mindspore.numpy.tril_indices_from"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.tril_indices_from</span></code></a></p></td>
<td><p>Returns the indices for the lower-triangle of <cite>arr</cite>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.triu.html#mindspore.numpy.triu" title="mindspore.numpy.triu"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.triu</span></code></a></p></td>
<td><p>Returns an upper triangle of a tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.triu_indices.html#mindspore.numpy.triu_indices" title="mindspore.numpy.triu_indices"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.triu_indices</span></code></a></p></td>
<td><p>Returns the indices for the upper-triangle of an (n, m) array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.triu_indices_from.html#mindspore.numpy.triu_indices_from" title="mindspore.numpy.triu_indices_from"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.triu_indices_from</span></code></a></p></td>
<td><p>Returns the indices for the upper-triangle of <cite>arr</cite>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.vander.html#mindspore.numpy.vander" title="mindspore.numpy.vander"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.vander</span></code></a></p></td>
<td><p>Generates a Vandermonde matrix.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.zeros.html#mindspore.numpy.zeros" title="mindspore.numpy.zeros"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.zeros</span></code></a></p></td>
<td><p>Returns a new tensor of given shape and type, filled with zeros.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.zeros_like.html#mindspore.numpy.zeros_like" title="mindspore.numpy.zeros_like"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.zeros_like</span></code></a></p></td>
<td><p>Returns an array of zeros with the same shape and type as a given array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="array-operation">
<h2>Array Operation<a class="headerlink" href="#array-operation" title="Permalink to this headline">¶</a></h2>
<table class="longtable docutils align-default">
<colgroup>
<col style="width: 9%" />
<col style="width: 64%" />
<col style="width: 27%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><strong>API Name</strong></p></td>
<td><p><strong>Description</strong></p></td>
<td><p><strong>Supported Platforms</strong></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.append.html#mindspore.numpy.append" title="mindspore.numpy.append"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.append</span></code></a></p></td>
<td><p>Appends values to the end of a tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.apply_along_axis.html#mindspore.numpy.apply_along_axis" title="mindspore.numpy.apply_along_axis"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.apply_along_axis</span></code></a></p></td>
<td><p>Applies a function to 1-D slices along the given axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.apply_over_axes.html#mindspore.numpy.apply_over_axes" title="mindspore.numpy.apply_over_axes"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.apply_over_axes</span></code></a></p></td>
<td><p>Applies a function repeatedly over multiple axes.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.array_split.html#mindspore.numpy.array_split" title="mindspore.numpy.array_split"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.array_split</span></code></a></p></td>
<td><p>Splits a tensor into multiple sub-tensors.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.array_str.html#mindspore.numpy.array_str" title="mindspore.numpy.array_str"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.array_str</span></code></a></p></td>
<td><p>Returns a string representation of the data in an array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.atleast_1d.html#mindspore.numpy.atleast_1d" title="mindspore.numpy.atleast_1d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.atleast_1d</span></code></a></p></td>
<td><p>Converts inputs to arrays with at least one dimension.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.atleast_2d.html#mindspore.numpy.atleast_2d" title="mindspore.numpy.atleast_2d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.atleast_2d</span></code></a></p></td>
<td><p>Reshapes inputs as arrays with at least two dimensions.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.atleast_3d.html#mindspore.numpy.atleast_3d" title="mindspore.numpy.atleast_3d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.atleast_3d</span></code></a></p></td>
<td><p>Reshapes inputs as arrays with at least three dimensions.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.broadcast_arrays.html#mindspore.numpy.broadcast_arrays" title="mindspore.numpy.broadcast_arrays"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.broadcast_arrays</span></code></a></p></td>
<td><p>Broadcasts any number of arrays against each other.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.broadcast_to.html#mindspore.numpy.broadcast_to" title="mindspore.numpy.broadcast_to"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.broadcast_to</span></code></a></p></td>
<td><p>Broadcasts an array to a new shape.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.choose.html#mindspore.numpy.choose" title="mindspore.numpy.choose"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.choose</span></code></a></p></td>
<td><p>Construct an array from an index array and a list of arrays to choose from.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.column_stack.html#mindspore.numpy.column_stack" title="mindspore.numpy.column_stack"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.column_stack</span></code></a></p></td>
<td><p>Stacks 1-D tensors as columns into a 2-D tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.concatenate.html#mindspore.numpy.concatenate" title="mindspore.numpy.concatenate"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.concatenate</span></code></a></p></td>
<td><p>Joins a sequence of tensors along an existing axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.dsplit.html#mindspore.numpy.dsplit" title="mindspore.numpy.dsplit"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.dsplit</span></code></a></p></td>
<td><p>Splits a tensor into multiple sub-tensors along the 3rd axis (depth).</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.dstack.html#mindspore.numpy.dstack" title="mindspore.numpy.dstack"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.dstack</span></code></a></p></td>
<td><p>Stacks tensors in sequence depth wise (along the third axis).</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.expand_dims.html#mindspore.numpy.expand_dims" title="mindspore.numpy.expand_dims"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.expand_dims</span></code></a></p></td>
<td><p>Expands the shape of a tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.flip.html#mindspore.numpy.flip" title="mindspore.numpy.flip"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.flip</span></code></a></p></td>
<td><p>Reverses the order of elements in an array along the given axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.fliplr.html#mindspore.numpy.fliplr" title="mindspore.numpy.fliplr"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.fliplr</span></code></a></p></td>
<td><p>Flips the entries in each row in the left/right direction.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.flipud.html#mindspore.numpy.flipud" title="mindspore.numpy.flipud"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.flipud</span></code></a></p></td>
<td><p>Flips the entries in each column in the up/down direction.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.hsplit.html#mindspore.numpy.hsplit" title="mindspore.numpy.hsplit"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.hsplit</span></code></a></p></td>
<td><p>Splits a tensor into multiple sub-tensors horizontally (column-wise).</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.hstack.html#mindspore.numpy.hstack" title="mindspore.numpy.hstack"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.hstack</span></code></a></p></td>
<td><p>Stacks tensors in sequence horizontally.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.moveaxis.html#mindspore.numpy.moveaxis" title="mindspore.numpy.moveaxis"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.moveaxis</span></code></a></p></td>
<td><p>Moves axes of an array to new positions.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.piecewise.html#mindspore.numpy.piecewise" title="mindspore.numpy.piecewise"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.piecewise</span></code></a></p></td>
<td><p>Evaluates a piecewise-defined function.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.ravel.html#mindspore.numpy.ravel" title="mindspore.numpy.ravel"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.ravel</span></code></a></p></td>
<td><p>Returns a contiguous flattened tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.repeat.html#mindspore.numpy.repeat" title="mindspore.numpy.repeat"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.repeat</span></code></a></p></td>
<td><p>Repeats elements of an array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.reshape.html#mindspore.numpy.reshape" title="mindspore.numpy.reshape"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.reshape</span></code></a></p></td>
<td><p>Reshapes a tensor without changing its data.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.roll.html#mindspore.numpy.roll" title="mindspore.numpy.roll"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.roll</span></code></a></p></td>
<td><p>Rolls a tensor along given axes.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.rollaxis.html#mindspore.numpy.rollaxis" title="mindspore.numpy.rollaxis"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.rollaxis</span></code></a></p></td>
<td><p>Rolls the specified axis backwards, until it lies in the given position.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.rot90.html#mindspore.numpy.rot90" title="mindspore.numpy.rot90"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.rot90</span></code></a></p></td>
<td><p>Rotates a tensor by 90 degrees in the plane specified by axes.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.select.html#mindspore.numpy.select" title="mindspore.numpy.select"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.select</span></code></a></p></td>
<td><p>Returns an array drawn from elements in <cite>choicelist</cite>, depending on conditions.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.size.html#mindspore.numpy.size" title="mindspore.numpy.size"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.size</span></code></a></p></td>
<td><p>Returns the number of elements along a given axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.split.html#mindspore.numpy.split" title="mindspore.numpy.split"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.split</span></code></a></p></td>
<td><p>Splits a tensor into multiple sub-tensors along the given axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.squeeze.html#mindspore.numpy.squeeze" title="mindspore.numpy.squeeze"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.squeeze</span></code></a></p></td>
<td><p>Removes single-dimensional entries from the shape of a tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.stack.html#mindspore.numpy.stack" title="mindspore.numpy.stack"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.stack</span></code></a></p></td>
<td><p>Joins a sequence of arrays along a new axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.swapaxes.html#mindspore.numpy.swapaxes" title="mindspore.numpy.swapaxes"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.swapaxes</span></code></a></p></td>
<td><p>Interchanges two axes of a tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.take.html#mindspore.numpy.take" title="mindspore.numpy.take"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.take</span></code></a></p></td>
<td><p>Takes elements from an array along an axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.take_along_axis.html#mindspore.numpy.take_along_axis" title="mindspore.numpy.take_along_axis"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.take_along_axis</span></code></a></p></td>
<td><p>Takes values from the input array by matching 1d index and data slices.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.tile.html#mindspore.numpy.tile" title="mindspore.numpy.tile"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.tile</span></code></a></p></td>
<td><p>Constructs an array by repeating <cite>a</cite> the number of times given by <cite>reps</cite>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.transpose.html#mindspore.numpy.transpose" title="mindspore.numpy.transpose"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.transpose</span></code></a></p></td>
<td><p>Reverses or permutes the axes of a tensor; returns the modified tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.unique.html#mindspore.numpy.unique" title="mindspore.numpy.unique"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.unique</span></code></a></p></td>
<td><p>Finds the unique elements of a tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.unravel_index.html#mindspore.numpy.unravel_index" title="mindspore.numpy.unravel_index"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.unravel_index</span></code></a></p></td>
<td><p>Converts a flat index or array of flat indices into a tuple of coordinate arrays.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.vsplit.html#mindspore.numpy.vsplit" title="mindspore.numpy.vsplit"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.vsplit</span></code></a></p></td>
<td><p>Splits a tensor into multiple sub-tensors vertically (row-wise).</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.vstack.html#mindspore.numpy.vstack" title="mindspore.numpy.vstack"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.vstack</span></code></a></p></td>
<td><p>Stacks tensors in sequence vertically.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.where.html#mindspore.numpy.where" title="mindspore.numpy.where"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.where</span></code></a></p></td>
<td><p>Returns elements chosen from <cite>x</cite> or <cite>y</cite> depending on <cite>condition</cite>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="logic">
<h2>Logic<a class="headerlink" href="#logic" title="Permalink to this headline">¶</a></h2>
<table class="longtable docutils align-default">
<colgroup>
<col style="width: 9%" />
<col style="width: 64%" />
<col style="width: 27%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><strong>API Name</strong></p></td>
<td><p><strong>Description</strong></p></td>
<td><p><strong>Supported Platforms</strong></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.array_equal.html#mindspore.numpy.array_equal" title="mindspore.numpy.array_equal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.array_equal</span></code></a></p></td>
<td><p>Returns <cite>True</cite> if input arrays have same shapes and all elements equal.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code> <code class="docutils literal notranslate"><span class="pre">Ascend</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.array_equiv.html#mindspore.numpy.array_equiv" title="mindspore.numpy.array_equiv"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.array_equiv</span></code></a></p></td>
<td><p>Returns <cite>True</cite> if input arrays are shape consistent and all elements equal.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.equal.html#mindspore.numpy.equal" title="mindspore.numpy.equal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.equal</span></code></a></p></td>
<td><p>Returns the truth value of <code class="docutils literal notranslate"><span class="pre">(x1</span> <span class="pre">==</span> <span class="pre">x2)</span></code> element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.greater.html#mindspore.numpy.greater" title="mindspore.numpy.greater"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.greater</span></code></a></p></td>
<td><p>Returns the truth value of <code class="docutils literal notranslate"><span class="pre">(x1</span> <span class="pre">&gt;</span> <span class="pre">x2)</span></code> element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.greater_equal.html#mindspore.numpy.greater_equal" title="mindspore.numpy.greater_equal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.greater_equal</span></code></a></p></td>
<td><p>Returns the truth value of <code class="docutils literal notranslate"><span class="pre">(x1</span> <span class="pre">&gt;=</span> <span class="pre">x2)</span></code> element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.in1d.html#mindspore.numpy.in1d" title="mindspore.numpy.in1d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.in1d</span></code></a></p></td>
<td><p>Tests whether each element of a 1-D array is also present in a second array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.isclose.html#mindspore.numpy.isclose" title="mindspore.numpy.isclose"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.isclose</span></code></a></p></td>
<td><p>Returns a boolean tensor where two tensors are element-wise equal within a tolerance.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.isfinite.html#mindspore.numpy.isfinite" title="mindspore.numpy.isfinite"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.isfinite</span></code></a></p></td>
<td><p>Tests element-wise for finiteness (not infinity or not Not a Number).</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.isin.html#mindspore.numpy.isin" title="mindspore.numpy.isin"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.isin</span></code></a></p></td>
<td><p>Calculates element in <cite>test_elements</cite>, broadcasting over <cite>element</cite> only.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.isinf.html#mindspore.numpy.isinf" title="mindspore.numpy.isinf"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.isinf</span></code></a></p></td>
<td><p>Tests element-wise for positive or negative infinity.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.isnan.html#mindspore.numpy.isnan" title="mindspore.numpy.isnan"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.isnan</span></code></a></p></td>
<td><p>Tests element-wise for NaN and return result as a boolean array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.isneginf.html#mindspore.numpy.isneginf" title="mindspore.numpy.isneginf"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.isneginf</span></code></a></p></td>
<td><p>Tests element-wise for negative infinity, returns result as bool array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.isposinf.html#mindspore.numpy.isposinf" title="mindspore.numpy.isposinf"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.isposinf</span></code></a></p></td>
<td><p>Tests element-wise for positive infinity, returns result as bool array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.isscalar.html#mindspore.numpy.isscalar" title="mindspore.numpy.isscalar"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.isscalar</span></code></a></p></td>
<td><p>Returns True if the type of element is a scalar type.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.less.html#mindspore.numpy.less" title="mindspore.numpy.less"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.less</span></code></a></p></td>
<td><p>Returns the truth value of <code class="docutils literal notranslate"><span class="pre">(x1</span> <span class="pre">&lt;</span> <span class="pre">x2)</span></code> element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.less_equal.html#mindspore.numpy.less_equal" title="mindspore.numpy.less_equal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.less_equal</span></code></a></p></td>
<td><p>Returns the truth value of <code class="docutils literal notranslate"><span class="pre">(x1</span> <span class="pre">&lt;=</span> <span class="pre">x2)</span></code> element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.logical_and.html#mindspore.numpy.logical_and" title="mindspore.numpy.logical_and"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.logical_and</span></code></a></p></td>
<td><p>Computes the truth value of <cite>x1</cite> AND <cite>x2</cite> element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.logical_not.html#mindspore.numpy.logical_not" title="mindspore.numpy.logical_not"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.logical_not</span></code></a></p></td>
<td><p>Computes the truth value of NOT <cite>a</cite> element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.logical_or.html#mindspore.numpy.logical_or" title="mindspore.numpy.logical_or"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.logical_or</span></code></a></p></td>
<td><p>Computes the truth value of <cite>x1</cite> OR <cite>x2</cite> element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.logical_xor.html#mindspore.numpy.logical_xor" title="mindspore.numpy.logical_xor"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.logical_xor</span></code></a></p></td>
<td><p>Computes the truth value of <cite>x1</cite> XOR <cite>x2</cite>, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.not_equal.html#mindspore.numpy.not_equal" title="mindspore.numpy.not_equal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.not_equal</span></code></a></p></td>
<td><p>Returns (x1 != x2) element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.signbit.html#mindspore.numpy.signbit" title="mindspore.numpy.signbit"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.signbit</span></code></a></p></td>
<td><p>Returns element-wise True where signbit is set (less than zero).</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.sometrue.html#mindspore.numpy.sometrue" title="mindspore.numpy.sometrue"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.sometrue</span></code></a></p></td>
<td><p>Tests whether any array element along a given axis evaluates to True.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="math">
<h2>Math<a class="headerlink" href="#math" title="Permalink to this headline">¶</a></h2>
<table class="longtable docutils align-default">
<colgroup>
<col style="width: 9%" />
<col style="width: 64%" />
<col style="width: 27%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><strong>API Name</strong></p></td>
<td><p><strong>Description</strong></p></td>
<td><p><strong>Supported Platforms</strong></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.absolute.html#mindspore.numpy.absolute" title="mindspore.numpy.absolute"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.absolute</span></code></a></p></td>
<td><p>Calculates the absolute value element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.add.html#mindspore.numpy.add" title="mindspore.numpy.add"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.add</span></code></a></p></td>
<td><p>Adds arguments element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.amax.html#mindspore.numpy.amax" title="mindspore.numpy.amax"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.amax</span></code></a></p></td>
<td><p>Returns the maximum of an array or maximum along an axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.amin.html#mindspore.numpy.amin" title="mindspore.numpy.amin"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.amin</span></code></a></p></td>
<td><p>Returns the minimum of an array or minimum along an axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.arccos.html#mindspore.numpy.arccos" title="mindspore.numpy.arccos"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.arccos</span></code></a></p></td>
<td><p>Trigonometric inverse cosine, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.arccosh.html#mindspore.numpy.arccosh" title="mindspore.numpy.arccosh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.arccosh</span></code></a></p></td>
<td><p>Inverse hyperbolic cosine, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.arcsin.html#mindspore.numpy.arcsin" title="mindspore.numpy.arcsin"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.arcsin</span></code></a></p></td>
<td><p>Inverse sine, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.arcsinh.html#mindspore.numpy.arcsinh" title="mindspore.numpy.arcsinh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.arcsinh</span></code></a></p></td>
<td><p>Inverse hyperbolic sine element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.arctan.html#mindspore.numpy.arctan" title="mindspore.numpy.arctan"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.arctan</span></code></a></p></td>
<td><p>Trigonometric inverse tangent, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.arctan2.html#mindspore.numpy.arctan2" title="mindspore.numpy.arctan2"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.arctan2</span></code></a></p></td>
<td><p>Element-wise arc tangent of <span class="math notranslate nohighlight">\(x1/x2\)</span> choosing the quadrant correctly.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.arctanh.html#mindspore.numpy.arctanh" title="mindspore.numpy.arctanh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.arctanh</span></code></a></p></td>
<td><p>Inverse hyperbolic tangent element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.argmax.html#mindspore.numpy.argmax" title="mindspore.numpy.argmax"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.argmax</span></code></a></p></td>
<td><p>Returns the indices of the maximum values along an axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.argmin.html#mindspore.numpy.argmin" title="mindspore.numpy.argmin"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.argmin</span></code></a></p></td>
<td><p>Returns the indices of the minimum values along an axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.around.html#mindspore.numpy.around" title="mindspore.numpy.around"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.around</span></code></a></p></td>
<td><p>Evenly round to the given number of decimals.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.average.html#mindspore.numpy.average" title="mindspore.numpy.average"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.average</span></code></a></p></td>
<td><p>Computes the weighted average along the specified axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.bincount.html#mindspore.numpy.bincount" title="mindspore.numpy.bincount"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.bincount</span></code></a></p></td>
<td><p>Count number of occurrences of each value in array of non-negative ints.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.bitwise_and.html#mindspore.numpy.bitwise_and" title="mindspore.numpy.bitwise_and"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.bitwise_and</span></code></a></p></td>
<td><p>Computes the bit-wise AND of two arrays element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.bitwise_or.html#mindspore.numpy.bitwise_or" title="mindspore.numpy.bitwise_or"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.bitwise_or</span></code></a></p></td>
<td><p>Computes the bit-wise OR of two arrays element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.bitwise_xor.html#mindspore.numpy.bitwise_xor" title="mindspore.numpy.bitwise_xor"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.bitwise_xor</span></code></a></p></td>
<td><p>Computes the bit-wise XOR of two arrays element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.cbrt.html#mindspore.numpy.cbrt" title="mindspore.numpy.cbrt"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.cbrt</span></code></a></p></td>
<td><p>Returns the cube-root of a tensor, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.ceil.html#mindspore.numpy.ceil" title="mindspore.numpy.ceil"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.ceil</span></code></a></p></td>
<td><p>Returns the ceiling of the input, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.clip.html#mindspore.numpy.clip" title="mindspore.numpy.clip"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.clip</span></code></a></p></td>
<td><p>Clips (limits) the values in an array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.convolve.html#mindspore.numpy.convolve" title="mindspore.numpy.convolve"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.convolve</span></code></a></p></td>
<td><p>Returns the discrete, linear convolution of two one-dimensional sequences.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.copysign.html#mindspore.numpy.copysign" title="mindspore.numpy.copysign"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.copysign</span></code></a></p></td>
<td><p>Changes the sign of <cite>x1</cite> to that of <cite>x2</cite>, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.corrcoef.html#mindspore.numpy.corrcoef" title="mindspore.numpy.corrcoef"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.corrcoef</span></code></a></p></td>
<td><p>Returns Pearson product-moment correlation coefficients.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.correlate.html#mindspore.numpy.correlate" title="mindspore.numpy.correlate"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.correlate</span></code></a></p></td>
<td><p>Cross-correlation of two 1-dimensional sequences.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.cos.html#mindspore.numpy.cos" title="mindspore.numpy.cos"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.cos</span></code></a></p></td>
<td><p>Cosine element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.cosh.html#mindspore.numpy.cosh" title="mindspore.numpy.cosh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.cosh</span></code></a></p></td>
<td><p>Hyperbolic cosine, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.count_nonzero.html#mindspore.numpy.count_nonzero" title="mindspore.numpy.count_nonzero"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.count_nonzero</span></code></a></p></td>
<td><p>Counts the number of non-zero values in the tensor <cite>x</cite>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.cov.html#mindspore.numpy.cov" title="mindspore.numpy.cov"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.cov</span></code></a></p></td>
<td><p>Estimates a covariance matrix, given data and weights.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.cross.html#mindspore.numpy.cross" title="mindspore.numpy.cross"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.cross</span></code></a></p></td>
<td><p>Returns the cross product of two (arrays of) vectors.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.cumprod.html#mindspore.numpy.cumprod" title="mindspore.numpy.cumprod"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.cumprod</span></code></a></p></td>
<td><p>Returns the cumulative product of elements along a given axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.cumsum.html#mindspore.numpy.cumsum" title="mindspore.numpy.cumsum"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.cumsum</span></code></a></p></td>
<td><p>Returns the cumulative sum of the elements along a given axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.deg2rad.html#mindspore.numpy.deg2rad" title="mindspore.numpy.deg2rad"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.deg2rad</span></code></a></p></td>
<td><p>Converts angles from degrees to radians.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.diff.html#mindspore.numpy.diff" title="mindspore.numpy.diff"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.diff</span></code></a></p></td>
<td><p>Calculates the n-th discrete difference along the given axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.digitize.html#mindspore.numpy.digitize" title="mindspore.numpy.digitize"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.digitize</span></code></a></p></td>
<td><p>Returns the indices of the bins to which each value in input array belongs.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.divide.html#mindspore.numpy.divide" title="mindspore.numpy.divide"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.divide</span></code></a></p></td>
<td><p>Returns a true division of the inputs, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.divmod.html#mindspore.numpy.divmod" title="mindspore.numpy.divmod"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.divmod</span></code></a></p></td>
<td><p>Returns element-wise quotient and remainder simultaneously.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.dot.html#mindspore.numpy.dot" title="mindspore.numpy.dot"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.dot</span></code></a></p></td>
<td><p>Returns the dot product of two arrays.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.ediff1d.html#mindspore.numpy.ediff1d" title="mindspore.numpy.ediff1d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.ediff1d</span></code></a></p></td>
<td><p>The differences between consecutive elements of a tensor.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.exp.html#mindspore.numpy.exp" title="mindspore.numpy.exp"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.exp</span></code></a></p></td>
<td><p>Calculates the exponential of all elements in the input array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.exp2.html#mindspore.numpy.exp2" title="mindspore.numpy.exp2"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.exp2</span></code></a></p></td>
<td><p>Calculates <code class="docutils literal notranslate"><span class="pre">2**p</span></code> for all p in the input array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.expm1.html#mindspore.numpy.expm1" title="mindspore.numpy.expm1"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.expm1</span></code></a></p></td>
<td><p>Calculates <code class="docutils literal notranslate"><span class="pre">exp(x)</span> <span class="pre">-</span> <span class="pre">1</span></code> for all elements in the array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.fix.html#mindspore.numpy.fix" title="mindspore.numpy.fix"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.fix</span></code></a></p></td>
<td><p>Rounds to nearest integer towards zero.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.float_power.html#mindspore.numpy.float_power" title="mindspore.numpy.float_power"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.float_power</span></code></a></p></td>
<td><p>First array elements raised to powers from second array, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.floor.html#mindspore.numpy.floor" title="mindspore.numpy.floor"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.floor</span></code></a></p></td>
<td><p>Returns the floor of the input, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.floor_divide.html#mindspore.numpy.floor_divide" title="mindspore.numpy.floor_divide"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.floor_divide</span></code></a></p></td>
<td><p>Returns the largest integer smaller or equal to the division of the inputs.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.fmod.html#mindspore.numpy.fmod" title="mindspore.numpy.fmod"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.fmod</span></code></a></p></td>
<td><p>Returns the element-wise remainder of division.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.gcd.html#mindspore.numpy.gcd" title="mindspore.numpy.gcd"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.gcd</span></code></a></p></td>
<td><p>Returns the greatest common divisor of <code class="docutils literal notranslate"><span class="pre">|x1|</span></code> and <code class="docutils literal notranslate"><span class="pre">|x2|</span></code>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.gradient.html#mindspore.numpy.gradient" title="mindspore.numpy.gradient"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.gradient</span></code></a></p></td>
<td><p>Returns the gradient of a N-dimensional array.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.heaviside.html#mindspore.numpy.heaviside" title="mindspore.numpy.heaviside"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.heaviside</span></code></a></p></td>
<td><p>Computes the Heaviside step function.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.histogram.html#mindspore.numpy.histogram" title="mindspore.numpy.histogram"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.histogram</span></code></a></p></td>
<td><p>Computes the histogram of a dataset.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.histogram2d.html#mindspore.numpy.histogram2d" title="mindspore.numpy.histogram2d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.histogram2d</span></code></a></p></td>
<td><p>Computes the multidimensional histogram of some data.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.histogramdd.html#mindspore.numpy.histogramdd" title="mindspore.numpy.histogramdd"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.histogramdd</span></code></a></p></td>
<td><p>Computes the multidimensional histogram of some data.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.hypot.html#mindspore.numpy.hypot" title="mindspore.numpy.hypot"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.hypot</span></code></a></p></td>
<td><p>Given the “legs” of a right triangle, returns its hypotenuse.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.inner.html#mindspore.numpy.inner" title="mindspore.numpy.inner"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.inner</span></code></a></p></td>
<td><p>Returns the inner product of two tensors.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.interp.html#mindspore.numpy.interp" title="mindspore.numpy.interp"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.interp</span></code></a></p></td>
<td><p>One-dimensional linear interpolation for monotonically increasing sample points.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.invert.html#mindspore.numpy.invert" title="mindspore.numpy.invert"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.invert</span></code></a></p></td>
<td><p>Computes bit-wise inversion, or bit-wise NOT, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.kron.html#mindspore.numpy.kron" title="mindspore.numpy.kron"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.kron</span></code></a></p></td>
<td><p>Kronecker product of two arrays.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.lcm.html#mindspore.numpy.lcm" title="mindspore.numpy.lcm"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.lcm</span></code></a></p></td>
<td><p>Returns the lowest common multiple of <code class="docutils literal notranslate"><span class="pre">|x1|</span></code> and <code class="docutils literal notranslate"><span class="pre">|x2|</span></code>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.log.html#mindspore.numpy.log" title="mindspore.numpy.log"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.log</span></code></a></p></td>
<td><p>Returns the natural logarithm, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.log10.html#mindspore.numpy.log10" title="mindspore.numpy.log10"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.log10</span></code></a></p></td>
<td><p>Base-10 logarithm of <cite>x</cite>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.log1p.html#mindspore.numpy.log1p" title="mindspore.numpy.log1p"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.log1p</span></code></a></p></td>
<td><p>Returns the natural logarithm of one plus the input array, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.log2.html#mindspore.numpy.log2" title="mindspore.numpy.log2"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.log2</span></code></a></p></td>
<td><p>Base-2 logarithm of <cite>x</cite>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.logaddexp.html#mindspore.numpy.logaddexp" title="mindspore.numpy.logaddexp"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.logaddexp</span></code></a></p></td>
<td><p>Logarithm of the sum of exponentiations of the inputs.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.logaddexp2.html#mindspore.numpy.logaddexp2" title="mindspore.numpy.logaddexp2"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.logaddexp2</span></code></a></p></td>
<td><p>Logarithm of the sum of exponentiations of the inputs in base of 2.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.matmul.html#mindspore.numpy.matmul" title="mindspore.numpy.matmul"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.matmul</span></code></a></p></td>
<td><p>Returns the matrix product of two arrays.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.matrix_power.html#mindspore.numpy.matrix_power" title="mindspore.numpy.matrix_power"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.matrix_power</span></code></a></p></td>
<td><p>Raises a square matrix to the (integer) power <cite>n</cite>.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.maximum.html#mindspore.numpy.maximum" title="mindspore.numpy.maximum"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.maximum</span></code></a></p></td>
<td><p>Returns the element-wise maximum of array elements.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.mean.html#mindspore.numpy.mean" title="mindspore.numpy.mean"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.mean</span></code></a></p></td>
<td><p>Computes the arithmetic mean along the specified axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.minimum.html#mindspore.numpy.minimum" title="mindspore.numpy.minimum"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.minimum</span></code></a></p></td>
<td><p>Element-wise minimum of tensor elements.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.multi_dot.html#mindspore.numpy.multi_dot" title="mindspore.numpy.multi_dot"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.multi_dot</span></code></a></p></td>
<td><p>Computes the dot product of two or more arrays in a single function call, while automatically selecting the fastest evaluation order.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.multiply.html#mindspore.numpy.multiply" title="mindspore.numpy.multiply"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.multiply</span></code></a></p></td>
<td><p>Multiplies arguments element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.nancumsum.html#mindspore.numpy.nancumsum" title="mindspore.numpy.nancumsum"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.nancumsum</span></code></a></p></td>
<td><p>Return the cumulative sum of array elements over a given axis treating Not a Numbers (NaNs) as zero.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.nanmax.html#mindspore.numpy.nanmax" title="mindspore.numpy.nanmax"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.nanmax</span></code></a></p></td>
<td><p>Return the maximum of an array or maximum along an axis, ignoring any NaNs.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.nanmean.html#mindspore.numpy.nanmean" title="mindspore.numpy.nanmean"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.nanmean</span></code></a></p></td>
<td><p>Computes the arithmetic mean along the specified axis, ignoring NaNs.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.nanmin.html#mindspore.numpy.nanmin" title="mindspore.numpy.nanmin"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.nanmin</span></code></a></p></td>
<td><p>Returns the minimum of array elements over a given axis, ignoring any NaNs.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.nanstd.html#mindspore.numpy.nanstd" title="mindspore.numpy.nanstd"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.nanstd</span></code></a></p></td>
<td><p>Computes the standard deviation along the specified axis, while ignoring NaNs.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.nansum.html#mindspore.numpy.nansum" title="mindspore.numpy.nansum"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.nansum</span></code></a></p></td>
<td><p>Returns the sum of array elements over a given axis treating Not a Numbers (NaNs) as zero.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.nanvar.html#mindspore.numpy.nanvar" title="mindspore.numpy.nanvar"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.nanvar</span></code></a></p></td>
<td><p>Computes the variance along the specified axis, while ignoring NaNs.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.negative.html#mindspore.numpy.negative" title="mindspore.numpy.negative"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.negative</span></code></a></p></td>
<td><p>Numerical negative, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.norm.html#mindspore.numpy.norm" title="mindspore.numpy.norm"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.norm</span></code></a></p></td>
<td><p>Matrix or vector norm.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.outer.html#mindspore.numpy.outer" title="mindspore.numpy.outer"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.outer</span></code></a></p></td>
<td><p>Computes the outer product of two vectors.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.polyadd.html#mindspore.numpy.polyadd" title="mindspore.numpy.polyadd"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.polyadd</span></code></a></p></td>
<td><p>Finds the sum of two polynomials.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.polyder.html#mindspore.numpy.polyder" title="mindspore.numpy.polyder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.polyder</span></code></a></p></td>
<td><p>Returns the derivative of the specified order of a polynomial.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.polyint.html#mindspore.numpy.polyint" title="mindspore.numpy.polyint"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.polyint</span></code></a></p></td>
<td><p>Returns an antiderivative (indefinite integral) of a polynomial.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.polymul.html#mindspore.numpy.polymul" title="mindspore.numpy.polymul"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.polymul</span></code></a></p></td>
<td><p>Finds the product of two polynomials.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.polysub.html#mindspore.numpy.polysub" title="mindspore.numpy.polysub"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.polysub</span></code></a></p></td>
<td><p>Difference (subtraction) of two polynomials.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.polyval.html#mindspore.numpy.polyval" title="mindspore.numpy.polyval"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.polyval</span></code></a></p></td>
<td><p>Evaluates a polynomial at specific values.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.positive.html#mindspore.numpy.positive" title="mindspore.numpy.positive"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.positive</span></code></a></p></td>
<td><p>Numerical positive, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.power.html#mindspore.numpy.power" title="mindspore.numpy.power"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.power</span></code></a></p></td>
<td><p>First array elements raised to powers from second array, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.promote_types.html#mindspore.numpy.promote_types" title="mindspore.numpy.promote_types"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.promote_types</span></code></a></p></td>
<td><p>Returns the data type with the smallest size and smallest scalar kind.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.ptp.html#mindspore.numpy.ptp" title="mindspore.numpy.ptp"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.ptp</span></code></a></p></td>
<td><p>Range of values (maximum - minimum) along an axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.rad2deg.html#mindspore.numpy.rad2deg" title="mindspore.numpy.rad2deg"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.rad2deg</span></code></a></p></td>
<td><p>Converts angles from radians to degrees.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.radians.html#mindspore.numpy.radians" title="mindspore.numpy.radians"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.radians</span></code></a></p></td>
<td><p>Converts angles from degrees to radians.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.ravel_multi_index.html#mindspore.numpy.ravel_multi_index" title="mindspore.numpy.ravel_multi_index"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.ravel_multi_index</span></code></a></p></td>
<td><p>Converts a tuple of index arrays into an array of flat indices, applying boundary modes to the multi-index.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">GPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.reciprocal.html#mindspore.numpy.reciprocal" title="mindspore.numpy.reciprocal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.reciprocal</span></code></a></p></td>
<td><p>Returns the reciprocal of the argument, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.remainder.html#mindspore.numpy.remainder" title="mindspore.numpy.remainder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.remainder</span></code></a></p></td>
<td><p>Returns element-wise remainder of division.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.result_type.html#mindspore.numpy.result_type" title="mindspore.numpy.result_type"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.result_type</span></code></a></p></td>
<td><p>Returns the type that results from applying the type promotion rules to the arguments.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.rint.html#mindspore.numpy.rint" title="mindspore.numpy.rint"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.rint</span></code></a></p></td>
<td><p>Rounds elements of the array to the nearest integer.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.searchsorted.html#mindspore.numpy.searchsorted" title="mindspore.numpy.searchsorted"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.searchsorted</span></code></a></p></td>
<td><p>Finds indices where elements should be inserted to maintain order.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.sign.html#mindspore.numpy.sign" title="mindspore.numpy.sign"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.sign</span></code></a></p></td>
<td><p>Returns an element-wise indication of the sign of a number.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.sin.html#mindspore.numpy.sin" title="mindspore.numpy.sin"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.sin</span></code></a></p></td>
<td><p>Trigonometric sine, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.sinh.html#mindspore.numpy.sinh" title="mindspore.numpy.sinh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.sinh</span></code></a></p></td>
<td><p>Hyperbolic sine, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.sqrt.html#mindspore.numpy.sqrt" title="mindspore.numpy.sqrt"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.sqrt</span></code></a></p></td>
<td><p>Returns the non-negative square-root of an array, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.square.html#mindspore.numpy.square" title="mindspore.numpy.square"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.square</span></code></a></p></td>
<td><p>Returns the element-wise square of the input.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.std.html#mindspore.numpy.std" title="mindspore.numpy.std"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.std</span></code></a></p></td>
<td><p>Computes the standard deviation along the specified axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.subtract.html#mindspore.numpy.subtract" title="mindspore.numpy.subtract"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.subtract</span></code></a></p></td>
<td><p>Subtracts arguments, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.sum.html#mindspore.numpy.sum" title="mindspore.numpy.sum"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.sum</span></code></a></p></td>
<td><p>Returns sum of array elements over a given axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.tan.html#mindspore.numpy.tan" title="mindspore.numpy.tan"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.tan</span></code></a></p></td>
<td><p>Computes tangent element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.tanh.html#mindspore.numpy.tanh" title="mindspore.numpy.tanh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.tanh</span></code></a></p></td>
<td><p>Computes hyperbolic tangent element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.tensordot.html#mindspore.numpy.tensordot" title="mindspore.numpy.tensordot"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.tensordot</span></code></a></p></td>
<td><p>Computes tensor dot product along specified axes.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.trapz.html#mindspore.numpy.trapz" title="mindspore.numpy.trapz"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.trapz</span></code></a></p></td>
<td><p>Integrates along the given axis using the composite trapezoidal rule.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.true_divide.html#mindspore.numpy.true_divide" title="mindspore.numpy.true_divide"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.true_divide</span></code></a></p></td>
<td><p>Returns a true division of the inputs, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.trunc.html#mindspore.numpy.trunc" title="mindspore.numpy.trunc"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.trunc</span></code></a></p></td>
<td><p>Returns the truncated value of the input, element-wise.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="numpy/mindspore.numpy.unwrap.html#mindspore.numpy.unwrap" title="mindspore.numpy.unwrap"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.unwrap</span></code></a></p></td>
<td><p>Unwraps by changing deltas between values to <code class="docutils literal notranslate"><span class="pre">2*pi</span></code> complement.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="numpy/mindspore.numpy.var.html#mindspore.numpy.var" title="mindspore.numpy.var"><code class="xref py py-obj docutils literal notranslate"><span class="pre">mindspore.numpy.var</span></code></a></p></td>
<td><p>Computes the variance along the specified axis.</p></td>
<td><p><code class="docutils literal notranslate"><span class="pre">Ascend</span></code> <code class="docutils literal notranslate"><span class="pre">GPU</span></code> <code class="docutils literal notranslate"><span class="pre">CPU</span></code></p></td>
</tr>
</tbody>
</table>
</div>
</div>


           </div>
           
          </div>
          <footer>
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
        <a href="numpy/mindspore.numpy.arange.html" class="btn btn-neutral float-right" title="mindspore.numpy.arange" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
        <a href="mindspore.nn.transformer.html" class="btn btn-neutral float-left" title="mindspore.nn.transformer" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>
        &#169; Copyright 2021, MindSpore.

    </p>
  </div>
    
    
    
    Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
    
    <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
    
    provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>